package com.bto.solar.work.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
public class QueryUserReq {
    @ApiModelProperty("当前页数")
    private Integer currentPage;
    @ApiModelProperty("每页显示条数")
    private Integer pageSize;
    @ApiModelProperty("公司ID")
    private Long companyId;
    @ApiModelProperty("状态")
    private Byte status;
    @ApiModelProperty("权限名称")
    private String permissionName;
    @ApiModelProperty("查询值")
    private String queryValue;
    @ApiModelProperty("用户ID")
    private Long queryUserId;

    @ApiModelProperty("审批状态")
    @NotBlank(message = "审批状态不能为空")
    private String approve;

    @ApiModelProperty("是否修改时间排序")
    private Boolean orderBy;
}
